﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace DataLib.Accounts
{
    public partial class TreeDelete : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                DataLib.BLL.SysTree sm = new DataLib.BLL.SysTree();
                string id = Request.Params["id"];
                sm.DelTreeNode(int.Parse(id));
                Response.Redirect("TreeList.aspx");
            }

        }
    }
}